package com.tang.managementdemo.mapper;

import com.tang.managementdemo.pojo.Employ;
import com.tang.managementdemo.pojo.LoginInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
    @Select("select * from emp where username=#{username} and password=#{password}")
    Employ login(String username, String password);
}
